﻿<%@ page language="java" contentType="text/html;charset=UTF-8" pageEncoding="UTF-8"%>
<%@taglib uri= "http://java.sun.com/jsp/jstl/core" prefix= "c" %>
<%@taglib uri= "/WEB-INF/tld/fn.tld" prefix= "fn" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
    <title>信托理财产品内容详情</title>
    <link href="${pageContext.request.contextPath }/portal/scripts/layout.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript" src="${pageContext.request.contextPath }/util/js/jquery.js"></script>
    
</head>
<body>
  <div id="container">
  
    <div id="mainContent">
      <jsp:include page="./../common/top.jsp" flush="true" />
      
      <div class="content">
        <div class="subpageLeft">
          <div class="titleshort">
            <div class="titlearrow"></div>
            <div class="titlecaption">产品列表</div>
            <div class="titlemore"></div>
          </div>
          <div id="productsTypeDiv">
            <table>
              <c:if test="${not empty requestScope.producttypeLst }">
              <c:forEach items="${requestScope.producttypeLst }" varStatus="status" var="item">
              <tr style="height: 20px">
                <td>
                  <a href="./products.do?productTypeId=${item.id }">${item.typeName }</a>
                </td>
              </tr>
              </c:forEach>
              </c:if>
            </table>
          </div>
        </div>
        
        <div class="subpageRight">
          <div class="titlelong">
            <div class="titlearrow"></div>
            <div class="titlecaption">信托理财产品内容详情</div>
            <div class="titlemore"></div>
          </div>
          <div>
            <table class="subpageTable">
              <tr style="height: 30px;">
                <td class="detailHd">产品名称</td>
                <td colspan="3" class="detailTd">${trustProductDetail.productName }</td>
              </tr>
              <tr style="height: 30px;">
                <td class="detailHd" width="23%">发行机构</td>
                <td class="detailTd" width="25%">${trustProductDetail.issuer }</td>
                <td class="detailHd" width="25%">项目经理</td>
                <td class="detailTd" width="25%">${trustProductDetail.projectManager }</td>
              </tr>
              <tr style="height: 30px;">
                <td class="detailHd" width="23%">产品类型</td>
                <td class="detailTd" width="25%">${trustProductDetail.productType }</td>
                <td class="detailHd" width="25%">产品状态</td>
                <td class="detailTd" width="25%">
                  <c:if test="${trustProductDetail.productStatus eq 0 }">未发售</c:if>
                  <c:if test="${trustProductDetail.productStatus eq 1 }">正在发售</c:if>
                  <c:if test="${trustProductDetail.productStatus eq 2 }">执行</c:if>
                </td>
              </tr>
              <tr style="height: 30px;">
                <td class="detailHd" width="23%">理财币种</td>
                <td class="detailTd" width="25%">${trustProductDetail.currency }</td>
                <td class="detailHd" width="25%">投资管理类型</td>
                <td class="detailTd" width="25%">${trustProductDetail.managementType }</td>
              </tr>
              <tr style="height: 30px;">
                <td class="detailHd" width="23%">发行日期</td>
                <td class="detailTd" width="25%">${trustProductDetail.issueDate }~${trustProductDetail.endDate }</td>
                <td class="detailHd" width="25%">发售对象</td>
                <td class="detailTd" width="25%">${trustProductDetail.placeTarget }</td>
              </tr>
              <tr style="height: 30px;">
                <td class="detailHd" width="23%">发行规模</td>
                <td class="detailTd" width="25%">${trustProductDetail.issuesSize }万元</td>
                <td class="detailHd" width="25%">投资门槛</td>
                <td class="detailTd" width="25%">${trustProductDetail.startAmount }万元</td>
              </tr>
              <tr style="height: 30px;">
                <td class="detailHd" width="23%">产品期限</td>
                <td class="detailTd" width="25%">${trustProductDetail.timeLimit }月</td>
                <td class="detailHd" width="25%">期限类型</td>
                <td class="detailTd" width="25%">${trustProductDetail.timeLimitType }</td>
              </tr>
              <tr style="height: 30px;">
                <td class="detailHd" width="23%">预期收益率</td>
                <td class="detailTd" width="25%">${trustProductDetail.expectedProfit }%</td>
                <td class="detailHd" width="25%">收益类型</td>
                <td class="detailTd" width="25%">${trustProductDetail.earningsType }</td>
              </tr>
              <tr style="height: 30px;">
                <td class="detailHd" width="23%">是否保本</td>
                <td class="detailTd" width="25%">
                  <c:if test="${trustProductDetail.breakEven eq 0 }">否</c:if>
                  <c:if test="${trustProductDetail.breakEven eq 1 }">是</c:if>
                </td>
                <td class="detailHd" width="25%">发售地区</td>
                <td class="detailTd" width="25%">${trustProductDetail.placeArea }</td>
              </tr>
              <tr style="height: 30px;">
                <td class="detailHd" width="23%">投资方式</td>
                <td class="detailTd" width="25%">${trustProductDetail.investmentStyle }</td>
                <td class="detailHd" width="25%">资金投向</td>
                <td class="detailTd" width="25%">${trustProductDetail.fundInvestment }</td>
              </tr>
              <tr style="height: 30px;">
                <td class="detailHd" width="23%">资金托管费率</td>
                <td class="detailTd" width="25%">${trustProductDetail.trustMoney }%</td>
                <td class="detailHd" width="25%">销售手续费率</td>
                <td class="detailTd" width="25%">${trustProductDetail.sellFee }%</td>
              </tr>
              <tr style="height: 30px;">
                <td class="detailHd" width="23%">成立日期</td>
                <td class="detailTd" width="25%">${trustProductDetail.foundedDate }</td>
                <td class="detailHd" width="25%">成立规模</td>
                <td class="detailTd" width="25%">${trustProductDetail.foundedSize }万元</td>
              </tr>
              <tr style="height: 30px;">
                <td class="detailHd" width="23%">到期日期</td>
                <td class="detailTd" width="25%">${trustProductDetail.dueDate }</td>
                <td class="detailHd" width="25%">实际年收益率</td>
                <td class="detailTd" width="25%">${trustProductDetail.realProfit }%</td>
              </tr>
              <tr style="height: 30px;">
                <% 
                  request.setAttribute("vEnter", "\n"); 
                %>
                <td class="detailHd">资金运用情况</td>
                <td colspan="3" class="detailTd">
                  ${fn:replace(trustProductDetail.fundsAppliaction, vEnter, "<br/>") }
                </td>
              </tr>
              <tr style="height: 30px;">
                <td class="detailHd">信用增级情况</td>
                <td colspan="3" class="detailTd">
                  ${fn:replace(trustProductDetail.creditEnhancement, vEnter, "<br/>") }
                </td>
              </tr>
              <tr style="height: 30px;">
                <td class="detailHd">其他相关信息</td>
                <td colspan="3" class="detailTd">
                  ${fn:replace(trustProductDetail.otherInformation, vEnter, "<br/>") }
                </td>
              </tr>
            </table>
          </div>
        </div>
      </div>
      
      <div class="footerdiv">
      	<jsp:include page="./../common/bottom2.jsp" flush="true" >
        	<jsp:param value="footer2Trust" name="classStyle"/>
     	</jsp:include>
      </div> 
    </div>
  </div>
</body>
</html>
